import axios from 'axios'

export const ContractChangeListService = class ContractChangeListService {
    static contractChangeListService = null
    requestUrl = 'http://localhost/contractChangeList'

    static getInstance(){
        if(this.contractChangeListService == null){
            this.contractChangeListService = new ContractChangeListService()
        }
        return this.contractChangeListService
    }
    
    // 用pid查询所有数据
    selectList(params){
        return axios.get(`${this.requestUrl}/${params}`)
    }

    
}